package com.bjc.scheduler.elasticjob.quickstart.demo;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.time.LocalDateTime;

/**
 * @program: elastic-job-quickstart
 * @description:
 * @author: bjc
 * @create: 2021-08-15 19:32
 */
public class MyJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.printf("time：%s to do something", LocalDateTime.now());
        System.out.println();
    }
}
